package com.unydata.entidades.country;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="country")
public class Country {

	@Id
	private String code;
	private String name;
	private String continent;
	private String region;
	@Column(name="SurfaceArea")
	private float surfaceArea;
	@Column(name="IndepYear")
	private Integer indepYear;
	private String population;
	@Column(name="LifeExpectancy")
	private float lifeExpectancy;
	private float gnp;
	private float gnpoid;
	@Column(name="LocalName")
	private String localName;
	@Column(name="GovemmentForm")
	private String govemmentForm;
	@Column(name="HeadOfState")
	private String headOfState;
	private Integer capital;
	private String code2;

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getContinent() {
		return continent;
	}
	public void setContinent(String continent) {
		this.continent = continent;
	}
	public String getRegion() {
		return region;
	}
	public void setRegion(String region) {
		this.region = region;
	}
	public float getSurfaceArea() {
		return surfaceArea;
	}
	public void setSurfaceArea(float surfaceArea) {
		this.surfaceArea = surfaceArea;
	}
	public Integer getIndepYear() {
		return indepYear;
	}
	public void setIndepYear(Integer indepYear) {
		this.indepYear = indepYear;
	}
	public String getPopulation() {
		return population;
	}
	public void setPopulation(String population) {
		this.population = population;
	}
	public float getLifeExpectancy() {
		return lifeExpectancy;
	}
	public void setLifeExpectancy(float lifeExpectancy) {
		this.lifeExpectancy = lifeExpectancy;
	}
	public float getGnp() {
		return gnp;
	}
	public void setGnp(float gnp) {
		this.gnp = gnp;
	}
	public float getGnpoid() {
		return gnpoid;
	}
	public void setGnpoid(float gnpoid) {
		this.gnpoid = gnpoid;
	}
	public String getLocalName() {
		return localName;
	}
	public void setLocalName(String localName) {
		this.localName = localName;
	}
	public String getGovemmentForm() {
		return govemmentForm;
	}
	public void setGovemmentForm(String govemmentForm) {
		this.govemmentForm = govemmentForm;
	}
	public String getHeadOfState() {
		return headOfState;
	}
	public void setHeadOfState(String headOfState) {
		this.headOfState = headOfState;
	}
	public Integer getCapital() {
		return capital;
	}
	public void setCapital(Integer capital) {
		this.capital = capital;
	}
	public String getCode2() {
		return code2;
	}
	public void setCode2(String code2) {
		this.code2 = code2;
	}
	
	
}
